package com.gome.ocean.dao.model.websql;

/**
 * @author zhangguoqing 2016年12月7日 下午5:20:45
 * @since 5.0.0 websql数据库编辑表 列实体类
 */
public class DBEditTableColumnBean {

    private Boolean binaryField      = false;
    private Boolean blobFiled        = false;
    private Boolean charField        = false;
    private Boolean compositionField = false;
    private Boolean dateField        = false;
    private Boolean datetime         = false;
    private Boolean floatField       = false;
    private Boolean intField         = false;
    private Boolean numberField      = false;
    private Boolean otherField       = false;
    private Boolean primaryKey       = false;
    private Boolean textField        = false;
    private Boolean timestamp        = false;
    private String  autoIncrement;
    private String  columnDisplayType;
    private String  columnName;
    private String  columnType;
    private String  comments;
    private String  length;
    private String  oldColumnName;

    public String getAutoIncrement() {
        return autoIncrement;
    }

    public void setAutoIncrement(Boolean autoIncrement) {
        if (autoIncrement == true) {
            this.autoIncrement = "true";
        } else {
            this.autoIncrement = "";
        }
    }

    public Boolean getBinaryField() {
        return binaryField;
    }

    public void setBinaryField(Boolean binaryField) {
        this.binaryField = binaryField;
    }

    public Boolean getBlobFiled() {
        return blobFiled;
    }

    public void setBlobFiled(Boolean blobFiled) {
        this.blobFiled = blobFiled;
    }

    public Boolean getCharField() {
        return charField;
    }

    public void setCharField(Boolean charField) {
        this.charField = charField;
    }

    public Boolean getCompositionField() {
        return compositionField;
    }

    public void setCompositionField(Boolean compositionField) {
        this.compositionField = compositionField;
    }

    public Boolean getDateField() {
        return dateField;
    }

    public void setDateField(Boolean dateField) {
        this.dateField = dateField;
    }

    public Boolean getDatetime() {
        return datetime;
    }

    public void setDatetime(Boolean datetime) {
        this.datetime = datetime;
    }

    public Boolean getFloatField() {
        return floatField;
    }

    public void setFloatField(Boolean floatField) {
        this.floatField = floatField;
    }

    public Boolean getIntField() {
        return intField;
    }

    public void setIntField(Boolean intField) {
        this.intField = intField;
    }

    public Boolean getNumberField() {
        return numberField;
    }

    public void setNumberField(Boolean numberField) {
        this.numberField = numberField;
    }

    public Boolean getOtherField() {
        return otherField;
    }

    public void setOtherField(Boolean otherField) {
        this.otherField = otherField;
    }

    public Boolean getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(Boolean primaryKey) {
        this.primaryKey = primaryKey;
    }

    public Boolean getTextField() {
        return textField;
    }

    public void setTextField(Boolean textField) {
        this.textField = textField;
    }

    public Boolean getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Boolean timestamp) {
        this.timestamp = timestamp;
    }

    public String getColumnDisplayType() {
        return columnDisplayType;
    }

    public void setColumnDisplayType(String columnDisplayType) {
        this.columnDisplayType = columnDisplayType;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    public String getOldColumnName() {
        return oldColumnName;
    }

    public void setOldColumnName(String oldColumnName) {
        this.oldColumnName = oldColumnName;
    }

}
